//
   Created by yezuo on 2016/12/8.

extends  ../layout



block scripts
    script(src = '/js/find_outcall.js')
    link(rel='stylesheet', href='/stylesheets/css/DoctorInfo.css')
block content
    .news
        .container
            .doctor-profile
                .doctor-detail(style='float:left')
                    .page-header
                        h3#doctorName
                        //span.badge.badge-success 好大夫认证 9.8
                        p#level
                    //p 医生态度 9.8 治疗效果 9.8
                    p#department 中国医学科学院阜外医院心血管内科
                    p#address 地址：北京市西城区北礼士路167号
                    //p#expert 经桡动脉径路的冠状动脉腔内成形术（PTCA）、冠状动脉内支架术、切割球囊成形术等。
                    //    h3#doctorName #{doctor.doctor_name}
                    //        -var DoctorType = ['普通医师','主治医师','副主任医师','主任医师'];
                    //        p#level #{DoctorType[doctor.level - 1]}
                    //p#department #{doctor.dpt_name}
                    //p#address #{doctor.hp_addr}
                    //p#expert #{doctor.information}

                .pull-right
                    .doctor-img
                        img#pic(src='/images/img8.jpg')
            .clear(style='clear:both')
            .grid_3.grid_5
                .bs-example.bs-example-tabs(role='tabpanel', data-example-id='togglable-tabs')
                    ul#myTab.nav.nav-tabs(role='tablist')
                        li.active(role='presentation')
                            a#home-tab(href='#home', role='tab', data-toggle='tab', aria-controls='home', aria-expanded='true') 医生详情
                        li(role='presentation')
                            a#profile-tab(href='#profile', role='tab', data-toggle='tab', aria-controls='profile', aria-expanded='false') 用户评价

                    #myTabContent.tab-content
                        #home.tab-pane.fade.active.in(role='tabpanel', aria-labelledby='home-tab')
                            p#information
                        #profile.tab-pane.fade(role='tabpanel', aria-labelledby='profile-tab')
                            p#evaluate
            .page-header
                h4 选择就诊时间
            .bs-docs-example
                .bs-docs-example
                    table.table.table-bordered
                        thead
                            - var d = new Date().getDay();
                            - var w_string = ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
                            tr
                                th 就诊时段
                                th 今天
                                th #{w_string[(d+1)%7]}
                                th #{w_string[(d+2)%7]}
                                th #{w_string[(d+3)%7]}
                                th #{w_string[(d+4)%7]}
                                th #{w_string[(d+5)%7]}
                                th #{w_string[(d+6)%7]}
                        tbody
                            tr(value = '1')
                                td 上午
                                td(value = d)
                                td(value = (d + 1) % 7)
                                td(value = (d + 2) % 7)
                                td(value = (d + 3) % 7)
                                td(value = (d + 4) % 7)
                                td(value = (d + 5) % 7)
                                td(value = (d + 6) % 7)
                            tr(value = '2')
                                td 下午
                                td(value = d)
                                td(value = (d + 1) % 7)
                                td(value = (d + 2) % 7)
                                td(value = (d + 3) % 7)
                                td(value = (d + 4) % 7)
                                td(value = (d + 5) % 7)
                                td(value = (d + 6) % 7)
                            tr(value = '3')
                                td 晚上
                                td(value = d)
                                td(value = (d + 1) % 7)
                                td(value = (d + 2) % 7)
                                td(value = (d + 3) % 7)
                                td(value = (d + 4) % 7)
                                td(value = (d + 5) % 7)
                                td(value = (d + 6) % 7)